Skip to content

tests: Prepare upstream Azure tests#210

Merged
Jakob-Naucke merged 7 commits intotrusted-execution-clusters:mainfrom
Jakob-Naucke:kind-tool
May 8, 2026
Merged

tests: Prepare upstream Azure tests#210
Jakob-Naucke merged 7 commits intotrusted-execution-clusters:mainfrom
Jakob-Naucke:kind-tool

Conversation

@Jakob-Naucke
Copy link
Copy Markdown
Contributor

  • track some tools' versions
  • optimize Makefile for partial & parallel installations
  • enable Kind forwarding in tests

See openshift/release#75842 for how I plan to use it

@Jakob-Naucke
Copy link
Copy Markdown
Contributor Author

#201
/retest

@Jakob-Naucke
Copy link
Copy Markdown
Contributor Author

flakes

RUN cargo build -p register-server $(if [ "release" = release ]; then echo --release; fi)
SSL error: unknown error; class=Ssl (16)

/retest

for installation of yq & parallel builds

Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
for autoupdates

Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
allows for not installing Cargo & downloading a number of packages for
CI.

Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
@Jakob-Naucke
Copy link
Copy Markdown
Contributor Author

ping @alicefr

Comment thread test_utils/src/lib.rs Outdated
Comment on lines +173 to +174
TRUSTEE_SERVICE => Ok((TRUSTEE_APP_LABEL, TRUSTEE_PORT, 31000)),
REGISTER_SERVER_SERVICE => Ok((REGISTER_SERVER_APP_LABEL, REGISTER_SERVER_PORT, 31001)),
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: can we define these port as constants, in this way we know what they represent

Comment thread lib/src/endpoints.rs Outdated
Comment on lines +21 to +23
pub const KIND_TRUSTEE_PORT: i32 = 31000;
pub const KIND_REGISTER_SERVER_PORT: i32 = 31001;
pub const KIND_ATTESTATION_KEY_REGISTER_PORT: i32 = 31002;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it the right place here for those constant? They are more related to the test infrastructure

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 4, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: alicefr, Jakob-Naucke

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

- Introduce kind_public type which exposes services
- Track app labels in lib
- some typos & reference instead of clone

Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
so that tests on Kind with port forwarding can go without conflicts

Signed-off-by: Jakob Naucke <jnaucke@redhat.com>
@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented May 4, 2026

New changes are detected. LGTM label has been removed.

@Jakob-Naucke
Copy link
Copy Markdown
Contributor Author

/retest

@Jakob-Naucke Jakob-Naucke merged commit db95093 into trusted-execution-clusters:main May 8, 2026
9 checks passed
@Jakob-Naucke Jakob-Naucke deleted the kind-tool branch May 8, 2026 06:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants